package com.pcy.codegenerator.utils;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 分页工具类
 * 
 */
@Data
public class PageUtils implements Serializable {
	private static final long serialVersionUID = 1L;
	//总记录数
	private int total;
	//列表数据
	private List<?> rows;
	
	public PageUtils(List<?> list, int total) {
		this.rows = list;
		this.total = total;
	}

}
